<template>
	<view class="goods-type1-box flex f-d-c" @click="goTo({url:'/pages/findCarSearch/carInfo?id='+item.id})">
		<image class="good-image" :src="item.pic" mode="aspectFit"></image>
		<view class="good-text">
			<view class="title">
				{{item.name||""}}
			</view>
			<view class="good-money color-EE8300 f-s-20">
				保滴价：<text class="f-s-28 f-w-b">{{item.price_text||""}}</text>万
			</view>
		</view>
	</view>
</template>

<script>
	import {goTo} from "@/nav.js"
	export default {
		props:{
			item:{
				type:Object,
				default(){
					return {}
				}
			}
		},
		data() {
			return {
				current:0
			}
		},
		mounted() {
			
		},
		methods: {
			goTo,
		}
	}
</script>

<style scoped lang="scss">
	.content{
		
	}
	.goods-type1-box{
		width: 332upx;
		padding-bottom: 24upx;
		margin-bottom: 28upx;
		.good-text{
			padding: 16upx 16upx 0 16upx;
			.title{
				margin-bottom: 12upx;
				width: 100%;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
			}
		}
		.good-image{
			width: 100%;
			height: 244upx;
		}
	}
</style>